import BaseComponent from "http://component.119safe.cn/component/base.js";

new class Dropdown_Item extends BaseComponent
{
	/*
	 * link		点击时跳转的链接
	 * icon		font-awesome图标
	 */
	Properties = { "link": null, "icon": null };

	InnerContainer = "span.pull-left";

	render() { super.render(this.constructor.name); }

	Content = `
<li>
	<a href="{link}">
		<div class="clearfix">
			<i class="pull-left ace-icon fa {icon}"></i>
			<span class="pull-left"></span>
			<span class="pull-right"></span>
		</div>
		<div></div>
	</a>
</li>
`;
}().render();
